Find the Git commit that introduced a bug
Manually or automatically find which commit in history introduced a bug using.
Browse snippets by collection or check out our top picks and latest articles below.
Manually or automatically find which commit in history introduced a bug using.
Learn how to merge two arrays of objects, while combining objects based on a specified key.
Check the properties of an object against an array of keys or another object to ensure they match.
Use a regular expression to check if a string contains only alpha or alphanumeric characters in JavaScript.
Compare two objects to determine if the first one contains equivalent property values to the second one.
Create an array of partial sums, using Array.prototype.reduce()
and Array.prototype.slice()
.
Renders a Modal component, controllable through events.
Creates a styled radio button with animation on state change.
Easily remove duplicates from a JavaScript array using the built-in Set
object, and learn a few other tricks along the way.
Creates a horizontally scrollable image gallery.
Convert the data from an HTML form into a JavaScript object or serialize it into a query string.
The Event Loop is a source of confusion for many developers, but it's a fundamental piece of the JavaScript engine.